package com.example.orderfoodsystem22201310liuziming.repository;
import com.example.orderfoodsystem22201310liuziming.entity.foodmenu;
import org.springframework.data.repository.CrudRepository;

import javax.transaction.Transactional;


public interface MenuRepository extends CrudRepository<foodmenu,Integer>{
    @Transactional
    void deleteByFoodname(String Name);
    foodmenu findByFoodname(String Name);
}
